home *** CD-ROM | disk | FTP | other *** search
- case $CONFIG in
- '') . config.sh ;;
- esac
- outputfile=edtext.cf
- rm -f $outputfile.$$
- echo "Creating $outputfile (with variable substitutions)"
- if cat >$outputfile.$$ <<!GROK!THIS!
- # RCSid[] = "@(#)$Header: edtext.SH,v 3.0 88/05/27 06:33:12 pb Rel $"
- #
- ##################################################
- ##################################################
- ##############
- ############## configure for edtext textual output
- ##############
- ##################################################
- ##################################################
-
- # the directory to search for files in
-
- directory $datadir
-
- # enable tracing
- verbose 1
-
- # output format
- output edtext
-
- comment hdr.file
-
- # context subnet
- # name
- context X29 JANET
- context X29 PSS
- context Ts29 JANET
- context Ts29 PSS
- context FTP JANET
- context FTP PSS
- context Mail JANET
- context Mail PSS
- context JTMP JANET
- context JTMP PSS
- context JTMP-FILES JANET
- context JTMP-FILES PSS
- context JTMP-REG JANET
- context JTMP-REG PSS
- context Mail-telex TELEX
- context Mail-x29 JANET
- context Mail-x29 PSS
- context YBTS JANET
- context YBTS PSS
- context YBTS-NODE JANET
- context YBTS-NODE PSS
- context DESC JANET
-
- domains
- !GROK!THIS!
- then if cmp $outputfile $outputfile.$$ > /dev/null 2>& 1
- then
- rm -f $outputfile.$$
- echo " " $outputfile not affected
- elif mv $outputfile.$$ $outputfile
- then
- echo " " $outputfile updated
- else
- echo "+++ " $outputfile left in $outputfile.$$
- fi
- else
- echo " " Failed to create $outputfile.$$
- fi
-